/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bus;

import dao.DanhMucConDAO;
import java.util.List;
import pojo.Danhmuccon;
/**
 *
 * @author NhatTan
 */
public class DanhMucConBUS {
    public static  List<Danhmuccon> layDanhSachDanhMucCon() {
       return DanhMucConDAO.layDanhSachDanhMucCon();
    }

    public static  List<Danhmuccon> layDanhSachDanhMucConTheoId(int ma) {
       return DanhMucConDAO.layDanhSachDanhMucConTheoId(ma);
    }

    public static  boolean themDanhMucCon(Danhmuccon danhMucCon) {
      return DanhMucConDAO.themDanhMucCon(danhMucCon);
    }

    public static  boolean xoaDanhMucCon(Danhmuccon danhMucCon) {
       return DanhMucConDAO.xoaDanhMucCon(danhMucCon);      
    }
}
